{% extends "base.html" %}

{% block title %}| {{ user.auth.username }} - {{ game_trophy.psn_id }} {%endblock%}

{% block body %}

{% include "tableUserGame.html" %}

<table class="sortable" align="center">
	<tr height="30" > 
		<th> </th>
		<th> Nome </th>
		<th> Tipo </th>
		<th> Data </th>
	</tr>
{% for game_trophy in user_game_trophy %}
	<tr> 

		<td> 
		{% ifequal game_trophy.trophy.pic_url "0" %}
			<img class="meio" src="/media/hidden-lock.png" height=44 width=50 /></td>
		{% else %}
			<img class="meio" src="{{ game_trophy.trophy.pic_url}}" height=44 width=50 /></td>
		{% endifequal %}
		<td>
		<b>{{ game_trophy.trophy.name }} </b> <br />
			{{ game_trophy.trophy.desc }}
		</td>
		<td class="righttop"> <img src="/media/{{game_trophy.trophy.type}}.png"> </td>
		<td> {{ game_trophy.date }} </td>

	</tr>
{% endfor %}
</table>
{%endblock%}
